<h3><div class="border-line"></div><div class="title"><?php echo $this->_var['lang']['message_board']; ?></div></h3>
<ul class="comment-box-list">
    <?php $_from = $this->_var['msg_lists']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('key', 'msg');$this->_foreach['comment'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['comment']['total'] > 0):
    foreach ($_from AS $this->_var['key'] => $this->_var['msg']):
        $this->_foreach['comment']['iteration']++;
?>
    <li class="item-rainbow-<?php echo $this->_foreach['comment']['iteration']; ?>">
        <div class="user-image"> <img class="face_img" src="themes/xiaomi/images/default_45.png"></div>
        <div class="user-emoj">
          <?php if ($this->_var['msg']['comment_rank'] == 5): ?>超爱<i class="iconfont"></i>
          <?php elseif ($this->_var['msg']['comment_rank'] == 4): ?>满意<i class="iconfont"></i>
          <?php elseif ($this->_var['msg']['comment_rank'] == 3): ?>一般<i class="iconfont"></i>
          <?php elseif ($this->_var['msg']['comment_rank'] == 2): ?>不满意<i class="iconfont"></i>
          <?php elseif ($this->_var['msg']['comment_rank'] == 1): ?>很失望<i class="iconfont"></i>
          <?php endif; ?>
        </div>
        <div class="user-name-info">
          <span class="user-name"><?php if ($this->_var['msg']['user_name']): ?><?php echo htmlspecialchars($this->_var['msg']['user_name']); ?><?php else: ?><?php echo $this->_var['lang']['anonymous']; ?><?php endif; ?></span> 
          <span class="pro-info">[<b <?php if ($this->_var['msg']['tablename'] == 'comment'): ?>class="comment"<?php endif; ?>><?php echo $this->_var['msg']['msg_type']; ?></b>]</span>
          <?php if ($this->_var['msg']['id_value'] > 0): ?>
          <?php echo $this->_var['lang']['feed_user_comment']; ?>
          <b><a class="f3" href="<?php echo $this->_var['msg']['goods_url']; ?>" target="_blank" title="<?php echo $this->_var['msg']['goods_name']; ?>"><?php echo $this->_var['msg']['goods_name']; ?></a></b>
          <?php endif; ?>
          <span class="user-time"><?php echo $this->_var['msg']['msg_time']; ?></span>
        </div>
        <dl class="user-comment">
          <dt class="user-comment-content"><p class="content-detail"><?php echo $this->_var['msg']['msg_content']; ?></p></dt>
          <dd class="user-comment-self-input hide">
              <div class="input-block"><input type="text" placeholder="回复楼主" class="J_commentAnswerInput"><a href="javascript:void(0);" class="btn  answer-btn J_commentAnswerBtn">回复</a></div>
          </dd>
          <?php if ($this->_var['msg']['re_content']): ?>
          <dd class="user-comment-answer">
              <img class="self-image" src="themes/xiaomi/images/default_45.png">
              <div class="answer-user-name"><?php echo $this->_var['lang']['shopman_reply']; ?></div>
              <p><?php echo $this->_var['msg']['re_content']; ?></p>
          </dd>
          <?php endif; ?>
        </dl>
        <div class="f_l" style="width:100%; position:relative;">
        <font class="f4"><?php echo $this->_var['msg']['msg_title']; ?></font> 
        </div>
    </li>
    <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>  
</ul>




